using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class DangKyDTO
    {
        #region ""
        private int _maDangKy;
        private int _maDocGia;
        private int _maCuonSach;
        private DateTime _ngayDangKy;
        private string _ghiChu;
       
        #endregion

        #region "Set &Get"

        public int MaDangKy
        {
            get { return _maDangKy; }
            set { _maDangKy = value; }
        }
        public int MaDocGia
        {
            get { return _maDocGia; }
            set { _maDocGia = value; }
        }


        public int MaCuonSach
        {
            get { return _maCuonSach; }
            set { _maCuonSach = value; }
        }

        public DateTime NgayDangKy
        {
            get { return _ngayDangKy; }
            set { _ngayDangKy = value; }
        }


        public string GhiChu
        {
            get { return _ghiChu; }
            set { _ghiChu = value; }
        }
        
        #endregion

        #region "Phuong Thuc"
        public DangKyDTO()
        {
            MaDangKy = 0;
            MaDocGia = 0;
            MaCuonSach = 0;
            NgayDangKy = DateTime.Today;
            GhiChu = "";
        }
        public DangKyDTO(int isbn,int madg,int macs,DateTime ngaydk,string ghc)
        {
            MaDangKy = isbn;
            MaDocGia = madg;
            MaCuonSach = macs;
            NgayDangKy = ngaydk;
            GhiChu = ghc;
        }
        #endregion
    }
}
